<?php
$_POST = array('input1' => 'only input 1 has value');
$save1 = $_POST['input1'];
$save2 = $_POST['input2'];
$save3 = $_POST['input3'];
$save4 = $_POST['input4'];
if (isset($save1,$save2,$save3,$save4)) {
echo $save1;
echo $save2;
echo $save3;
echo $save4;
}
else
{
echo 'only one value was assigned';
}
1